//sound library //naming conventions // Gains: gx // Echos: ex // Envelopes: enx // NRevs: rx // PitShifts: px // WvIns: wx // WaveLoops: wlx // BPFs: bx // HPFs: hx // Pan2s: panx // WvOuts: ox //SndBufs SndBuf brush => WaveLoop wl1 => Gain g1 => PitShift p1 => NRev r1 => Pan2 pan1 => WvOut o1 => dac; SndBuf crunch => WaveLoop wl2 => Gain g2 => PitShift p2 => NRev r2 => Pan2 pan2 => WvOut o2 => dac; SndBuf fork1 => WvOut o3 => dac; SndBuf fork2 => WvOut o4 => dac; SndBuf fry1 => WvIn w5 => Gain g5 => Envelope e5 => Pan2 pan5 => WvOut o5 => dac; SndBuf fry2 => WvIn w6 => Gain g6 => Envelope e6 => Pan2 pan6 => WvOut o6 => dac; SndBuf longscrape => WvIn w7 => Pan2 pan7 => WvOut o7 => dac; SndBuf plate => WvOut o8 => dac; SndBuf platebreak => WvIn w9 => Gain g9 => NRev r9 => WvOut o9 => dac; SndBuf pot1 => WaveLoop wl10 => Gain g10 => PitShift p10 => BPF b10 => NRev r10 => Pan2 pan10 => WvOut o10 => dac; SndBuf pot2 => WaveLoop wl11 => Gain g11 => PitShift p11 => HPF h11 => WvOut o11 => dac; SndBuf scrape => WvOut o12 => dac; SndBuf silverware => WvOut o13 => dac; SndBuf sploosh1 => WaveLoop wl14 => Gain g14 => Echo e14 => g14 => Pan2 pan14 => WvOut o14 => dac; SndBuf sploosh2 => WaveLoop wl15 => Gain g15 => HPF h15 => WvOut o15 => dac; SndBuf teapot => WvIn w16 => Gain g16 => WvOut o16 => dac; SndBuf toothbrush => WvOut o17 => dac; //file pathways me.dir()+"brush.wav" => brush.read; me.dir()+"crunch.wav" => crunch.read; me.dir()+"fork1.wav" => fork1.read; me.dir()+"fork2.wav" => fork2.read; me.dir()+"fry1.wav" => fry1.read; me.dir()+"fry2.wav" => fry2.read; me.dir()+"longscrape.wav" => longscrape.read; me.dir()+"plate.wav" => plate.read; me.dir()+"platebreak.wav" => platebreak.read; me.dir()+"pot1.wav" => pot1.read; me.dir()+"pot2.wav" => pot2.read; me.dir()+"scrape.wav" => scrape.read; me.dir()+"silverware.wav" => silverware.read; me.dir()+"sploosh1.wav" => sploosh1.read; me.dir()+"sploosh2.wav" => sploosh2.read; me.dir()+"teapot.wav" => teapot.read; me.dir()+"toothbrush.wav" => toothbrush.read; //mute sound library 0 => brush.gain; 0 => crunch.gain; 0 => fork1.gain; 0 => fork2.gain; 0 => fry1.gain; 0 => fry2.gain; 0 => longscrape.gain; 0 => plate.gain; 0 => platebreak.gain; 0 => pot1.gain; 0 => pot2.gain; 0 => scrape.gain; 0 => silverware.gain; 0 => sploosh1.gain; 0 => sploosh2.gain; 0 => teapot.gain; 0 => toothbrush.gain; //effects settings // brush 0.25 => g1.gain; -1 => pan1.pan; 1 => p1.mix; .9 => p1.shift; .05 => r1.mix; // crunch 0.6 => g2.gain; 1 => pan2.pan; 1 => p2.mix; .9 => p2.shift; .05 => r2.mix; // fork1 // fork2 // fry1 0.5 => g5.gain; 3::second => e5.duration; -0.5 => pan5.pan; // fry2 0.5 => g6.gain; 3::second => e6.duration; 0.5 => pan6.pan; // longscrape 0.4 => pan7.pan; // plate // platebreak 1 => g9.gain; 0.1 => r9.mix; // pot1 2 => g10.gain; 1 => p10.mix; 1.1 => p10.shift; b10.set(1000,10); 0.05 => r10.mix; 0.9 => pan10.pan; // pot2 1.5 => g11.gain; 1 => p11.mix; 1.2 => p11.shift; 7000 => h11.freq; // scrape // silverware // sploosh1 0.45 => g14.gain; -0.7 => pan14.pan; 0.5::second => e14.delay; 0.3 => e14.gain; // sploosh2 0.5 => g15.gain; 6000 => h15.freq; // teapot 1 => g16.gain; // toothbrush //bass loop me.dir()+"brush.wav" => wl1.path; 1 => wl1.rate; .5 => wl1.freq; me.dir()+"crunch.wav" => wl2.path; 1 => wl2.rate; .5 => wl2.freq; 4::second => now; //add bass2 me.dir()+"sploosh1.wav" => wl14.path; 1 => wl14.freq; 4::second => now; // add snare me.dir()+"pot1.wav" => wl10.path; 2 => wl10.freq; 4::second => now; //add hi-hat1 me.dir()+"sploosh2.wav" => wl15.path; 4 => wl15.freq; 4::second => now; //add hi-hat2 me.dir()+"pot2.wav" => wl11.path; 8 => wl11.freq; 8::second => now; //stop, break, scrape 0 => wl1.freq; 0 => wl2.freq; 0 => wl14.freq; 0 => wl10.freq; 0 => wl15.freq; 0 => wl11.freq; me.dir()+"platebreak.wav" => w9.path; 1 => w9.rate; 2::second => now; me.dir()+"longscrape.wav" => w7.path; 1 => w7.rate; 10::second => now; //restart loops .5 => wl1.freq; .5 => wl2.freq; 1 => wl14.freq; 2 => wl10.freq; 4 => wl15.freq; 8 => wl11.freq; 4::second => now; //add bacon me.dir()"fry1.wav" => w5.path; 1 => w5.rate; 0.5 => e5.target; me.dir()+"fry2.wav" => w6.path; 1 => w6.rate; 0.8 => e6.target; 6::second => now; //add tea me.dir()+"teapot.wav" => w16.path; 1 => w16.rate; 8::second => now;